package com.kanavi.fpm.controller;

import cn.hutool.core.io.FileUtil;
import cn.hutool.json.JSONUtil;
import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import com.kanavi.fpm.entity.AdsNucleicAcidRuleConfigEntity;
import com.kanavi.fpm.entity.Student;
import com.kanavi.fpm.mapper.AdsNucleicAcidRuleConfigMapper;
import com.kanavi.fpm.mapper.StudentMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping
@Slf4j
public class StudentController {
    @Autowired
    private StudentMapper studentMapper; // target目录下

    @RequestMapping("insert")
    public void insert() {
        Student student = new Student();
        student.setName("dl");
        student.setAge(25);
        studentMapper.insert(student);
    }



}
